.class public Lcom/hierynomus/msdtyp/a;
.super Ljava/lang/Object;
.source "MsDataTypes.java"


# direct methods
.method public static a()J
    .locals 4

    .line 10
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    const-wide/16 v2, 0x2710

    mul-long v0, v0, v2

    const-wide v2, 0x19db1ded53e8000L

    add-long/2addr v0, v2

    return-wide v0
.end method

.method public static a(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/Date;
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/hierynomus/protocol/commons/buffer/Buffer<",
            "*>;)",
            "Ljava/util/Date;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/protocol/commons/buffer/Buffer$BufferException;
        }
    .end annotation

    .line 7
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    move-result-wide v0

    .line 8
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    move-result-wide v2

    const/16 p0, 0x20

    shl-long/2addr v2, p0

    or-long/2addr v0, v2

    .line 9
    new-instance p0, Ljava/util/Date;

    const-wide v2, 0x19db1ded53e8000L

    sub-long/2addr v0, v2

    const-wide/16 v2, 0x2710

    div-long/2addr v0, v2

    invoke-direct {p0, v0, v1}, Ljava/util/Date;-><init>(J)V

    return-object p0
.end method

.method public static a(Ljava/util/UUID;Lcom/hierynomus/protocol/commons/buffer/Buffer;)V
    .locals 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/UUID;",
            "Lcom/hierynomus/protocol/commons/buffer/Buffer<",
            "*>;)V"
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Ljava/util/UUID;->getLeastSignificantBits()J

    move-result-wide v0

    .line 2
    invoke-virtual {p0}, Ljava/util/UUID;->getMostSignificantBits()J

    move-result-wide v2

    const/16 p0, 0x20

    ushr-long v4, v2, p0

    .line 3
    invoke-virtual {p1, v4, v5}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->b(J)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    const/16 p0, 0x10

    ushr-long v4, v2, p0

    const-wide/32 v6, 0xffff

    and-long/2addr v4, v6

    long-to-int p0, v4

    .line 4
    invoke-virtual {p1, p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    and-long/2addr v2, v6

    long-to-int p0, v2

    .line 5
    invoke-virtual {p1, p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->c(I)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    .line 6
    sget-object p0, Lcom/hierynomus/protocol/commons/buffer/a;->b:Lcom/hierynomus/protocol/commons/buffer/a;

    invoke-virtual {p1, v0, v1, p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(JLcom/hierynomus/protocol/commons/buffer/a;)Lcom/hierynomus/protocol/commons/buffer/Buffer;

    return-void
.end method

.method public static b(Lcom/hierynomus/protocol/commons/buffer/Buffer;)Ljava/util/UUID;
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/hierynomus/protocol/commons/buffer/Buffer<",
            "*>;)",
            "Ljava/util/UUID;"
        }
    .end annotation

    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lcom/hierynomus/protocol/commons/buffer/Buffer$BufferException;
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->i()J

    move-result-wide v0

    const/16 v2, 0x10

    shl-long/2addr v0, v2

    .line 2
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g()I

    move-result v3

    int-to-long v3, v3

    or-long/2addr v0, v3

    shl-long/2addr v0, v2

    .line 3
    invoke-virtual {p0}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->g()I

    move-result v2

    int-to-long v2, v2

    or-long/2addr v0, v2

    .line 4
    sget-object v2, Lcom/hierynomus/protocol/commons/buffer/a;->b:Lcom/hierynomus/protocol/commons/buffer/a;

    invoke-virtual {p0, v2}, Lcom/hierynomus/protocol/commons/buffer/Buffer;->a(Lcom/hierynomus/protocol/commons/buffer/a;)J

    move-result-wide v2

    .line 5
    new-instance p0, Ljava/util/UUID;

    invoke-direct {p0, v0, v1, v2, v3}, Ljava/util/UUID;-><init>(JJ)V

    return-object p0
.end method
